
using System;

namespace WindowsFormsApplication1
{


	public class SingleParameter
	{

		private int max;
		private int min;
		
		public SingleParameter (int min, int max)
		{
			this.min = min;
			this.max = max;
		}
		
		public int getMax()
		{
			return max;
		}
		
		public int getMin()
		{
			return min;
		}
		
		public void fit(int ponto, BeatParameters batimento)
		{
			batimento.fit = batimento.fit && ponto>min && ponto<max;
		}
	}
}
